package com.apes.fico.engine;

import com.apes.fico.engine.model.BusinessDocument;
import com.apes.framework.jpa.ApesBean;

/**
 * 功能：会计凭证引擎接口
 *
 * @author xul
 * @create 2019-01-24 13:42
 */
public interface AccountingEngine {

    /**
     * 数据拦截
     **/
    void intercept(ApesBean entity);

    /**
     * 凭证生成
     */
    void execute(BusinessDocument document);

}
